package ca.venasse.pinventory.inventory.command;

import org.axonframework.domain.AggregateIdentifier;

import ca.venasse.pinventory.inventory.common.LocationIdentifier;

public class ChangeParentOfLocation {

	private final AggregateIdentifier aggregateIdentifier;
	private final LocationIdentifier locationIdentifier;
	private final LocationIdentifier parentLocationIdentifier;

	public ChangeParentOfLocation(AggregateIdentifier aggregateIdentifier,
			LocationIdentifier parentLocationIdentifier, LocationIdentifier locationIdentifier) {
		this.aggregateIdentifier = aggregateIdentifier;
		this.parentLocationIdentifier = parentLocationIdentifier;
		this.locationIdentifier = locationIdentifier;
	}

	public AggregateIdentifier getAggregateIdentifier() {
		return this.aggregateIdentifier;
	}

	public LocationIdentifier getLocationIdentifier() {
		return this.locationIdentifier;
	}

	public LocationIdentifier getParentLocationIdentifier() {
		return this.parentLocationIdentifier;
	}

}
